<!--
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2020-09-24 19:45:23
 * @LastEditors: Sam
 * @LastEditTime: 2020-10-20 10:50:45
-->
{extend name="public/container"}
{block name="content"}
<div class="row">
   <div class="col-sm-12" >
       <div class="ibox">
        <div class="ibox-title">
            <div class="text-left">个人资料</div>
            <div class="ibox-tools">

            </div>
        </div>
           <div class="ibox-content">
            <form class="layui-form" method="POST" action="{:Url('setAdminInfo')}">
             
                <div class="layui-form-item">
                 <label class="layui-form-label">账号</label>
                 <div class="layui-input-block">
                   <input type="text" name="account" required  value="{$adminInfo.account}" lay-verify="required" placeholder="请输入账号" autocomplete="off" class="layui-input" disabled>
                 </div>
               </div>
 
               <div class="layui-form-item">
                 <label class="layui-form-label">姓名</label>
                 <div class="layui-input-block">
                   <input type="text" name="real_name" required  value="{$adminInfo.real_name}" lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input">
                 </div>
               </div>
               <input type="hidden" name="id" value="{$adminInfo.id}">

               <div class="layui-form-item">
                    <label class="layui-form-label">原始密码</label>
                    <div class="layui-input-block">
                    <input type="password" name="pwd"  lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
               </div>
 
               <div class="layui-form-item">
                <label class="layui-form-label">新密码</label>
                <div class="layui-input-block">
                <input type="password" name="new_pwd" required  lay-verify="required" autocomplete="off" class="layui-input">
                </div>
             </div>

           <div class="layui-form-item">
                <label class="layui-form-label">确认密码</label>
                <div class="layui-input-block">
                <input type="password" name="new_pwd_ok"   lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            
            <div class="layui-form-item">
                 <div class="layui-input-block">
                   <button class="layui-btn" lay-submit lay-filter="ajax_form_submit">立即提交</button>
                 </div>
            </div>
            </form>
           </div>
           
       </div>
   </div>
</div>
<script src="__ADMIN_PATH__js/layuiList.js"></script>
{/block}
